const layout = {
  state: {
    isSidebarOpen: true
  },
  mutations: {
    TOGGLE_SIDEBAR: state => {
      state.isSidebarOpen = !state.isSidebarOpen;
    }
  },
  actions: {
    toggleSideBar({ commit }) {
      commit("TOGGLE_SIDEBAR");
    }
  }
};
export default layout;
